﻿<navigation:Page x:Class="SoftwareLogistics.SharepointClient.Silverlight.Views.Settings" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           d:DesignWidth="640" d:DesignHeight="480"
           Title="Settings Page">
    <Grid x:Name="LayoutRoot">
        <StackPanel>
        <TextBlock x:Name="HeaderText" Style="{StaticResource HeaderTextStyle}"  Foreground="{StaticResource ForegroundBrush}" Text="Settings" />
        <Grid Width="400">
                <Grid.RowDefinitions>
                    <RowDefinition Height="50" />
                    <RowDefinition Height="50" />
                    
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="120" />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <Border Style="{StaticResource FormBorder}" Grid.ColumnSpan="2" Grid.RowSpan="2" />
                <TextBlock Text="last sync:" Style="{StaticResource FormLabel}" Margin="20,20,0,0" />
                <TextBlock Text="last sync:" Style="{StaticResource FormLabel}" x:Name="LastSyncValue"  Grid.Column="1" Margin="0,20,0,0"/>
                <Button x:Name="SyncNow" Content="Sync Now" Grid.Row="1" Grid.Column="1" Style="{StaticResource FormButton}" Click="SyncNow_Click" />

            </Grid>
        </StackPanel>
    </Grid>
</navigation:Page>
